snort3: fix typo preventing vectorscan detection
authorJohn Audia <[email protected]>
Thu, 16 Oct 2025 12:09:24 +0000 (08:09 -0400)
committerHannu Nyman <[email protected]>
Fri, 17 Oct 2025 03:49:05 +0000 (06:49 +0300)
Since vectorscan-runtime was dropped in the following commit, need to
replace references to it with just vectorscan in order to compile
snort3 against it: https://github.com/openwrt/packages/commit/8a3c7a69e649a9a5cbb0a642a661dd480b8583ff

Without this change, even having CONFIG_PACKAGE_vectorscan=y in the
.config will result in a failure to compile against it, e.g:

...
Feature options:
    DAQ Modules:    Dynamic
    libatomic:      User-specified
    Hyperscan:      OFF
...

Signed-off-by: John Audia <[email protected]>
net/snort3/Makefile

index 5335575e73b338e681c6a87a983b0f19f6cc5297..58fcee22f60cb1c07d4a9334b0c9529ec72f01d3 100644 (file)
@@ -59,7 +59,7 @@ CMAKE_OPTIONS += \
        -DHAVE_LZMA=ON \
        -DENABLE_TCMALLOC=$(if $(CONFIG_PACKAGE_gperftools),ON,OFF) \
        -DENABLE_HYPERSCAN=$(if $(CONFIG_PACKAGE_vectorscan),ON,OFF) \
-       $(if $(CONFIG_PACKAGE_vectorscan-runtime),-DHS_INCLUDE_DIRS=$(STAGING_DIR)/usr/include/hs)
+       $(if $(CONFIG_PACKAGE_vectorscan),-DHS_INCLUDE_DIRS=$(STAGING_DIR)/usr/include/hs)
 
 TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/daq3